package py.ucom.sistemas.web.entradaspy.db.config;

import java.util.Properties;
import java.util.ResourceBundle;

public class EntradasPyConfig {
	public static ResourceBundle fileConfig;
	public Properties props;
	public EntradasPyConfig(){
		try{
		fileConfig = ResourceBundle.getBundle("py.ucom.sistemas.web.entradaspy.db.config.entradaspy_es");
		}catch (Exception e) {
			System.out.println(e.getLocalizedMessage());
		}
		
		
	}
	
	public String getMessages(String key){
		return props.getProperty(key);
	}
	
}
